package com.netty.modbus.dto;

/**
 * description: DataReceiveBody <br>
 * date: 2021/10/18 14:16 <br>
 * @author: lwy <br>
 * @version: 1.0 <br>
 */
public class DataReceiveBody {
    /**设备唯一编号*/
    private String devNumber;
    /**设备数据*/
    private byte[] data;
    /**读写起始位置*/
    byte[] startAddress;
    /**读写寄存器数量*/
    byte[] quantity;

    public String getDevNumber() {
        return devNumber;
    }

    public void setDevNumber(String devNumber) {
        this.devNumber = devNumber;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public byte[] getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(byte[] startAddress) {
        this.startAddress = startAddress;
    }

    public byte[] getQuantity() {
        return quantity;
    }

    public void setQuantity(byte[] quantity) {
        this.quantity = quantity;
    }
}
